Fix call to getVCpuCount for dom0.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 18 Oct 2005 16:45:50 +0000 (17:45 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 18 Oct 2005 16:45:50 +0000 (17:45 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py

index 802c53f689179485c84eb8a7952959ee1f8b8706..3046c7eecea08859c832cd1da938a3106dfb21f3 100644 (file)
@@ -141,7 +141,7 @@ class XendDomain:
    
         # target == 0 means use all processors
         if target > 0:
-            self.setVCpuCount(target)
+            dom0.setVCpuCount(target)
 
 
     def _add_domain(self, info):